package factory;

public class NewsServiceImpl {
    private NewsDao dao = SimpleDaoFactory.getInstance();
    private NewsDao dao1;

    public void setDao(NewsDao dao) {
        this.dao=dao;
    }
}
